package com.bert.dao;

import java.io.Serializable;
import java.util.List;


public interface GenericDao<T>{
	
	public void persist(T entity);

	public void persist(List<T> entities);

	public List<T> findAll(Class<T> entityClass);
	
	public void delete(T entity);
	
	public T get(Class<T> entityClass, Serializable id);
	
}
